.wrap {
    width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.wrap1 {
    width: 100px;
    height: 310px;
    border: 1px solid red;
}

.wrap1:hover {
    box-shadow: 4px 4px 5px 3px #999;
}

.wrap2 {
    width: 100px;
    height: 310px;
    border: 1px solid red;
}

.wrap2:hover {
    box-shadow: 4px 4px 5px 3px #999;
}

img {
    width: 100px;
    height: 100px;
    cursor: move;
}

img:hover {
    box-shadow: 4px 4px 5px 3px #999;
}